<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./flexible.js"></script>
</head>
<style>
    * {
        margin: 0;
        padding: 0;
    }

    .main {
        /* width: 100%; */
        /* width: 100% */
        position: relative;
    }

    .main ul {
        width: 500%;
    }

    .main ul li {
        list-style-type: none;
    }

    .main ul li img {
        float: left;
        height: 10rem;
    }

    ol li {
        display: inline-block;
        width: 5px;
        height: 5px;
        background-color: #fff;
        list-style: none;
        border-radius: 2px;
        transition: all .3s;
    }

    ol {
        position: absolute;
        bottom: 5px;
        right: 5px;
        margin: 0;
    }
</style>

<body>
    <div class="main">
        <ul>
            <li>
                <a href="javascript:;">
                    <img src="../1.jpg" alt=""></img>
                </a>
            </li>
            <li>
                <a href="javascript:;">
                    <img src="../2.jpg" alt=""></img>
                </a>
            </li>
            <li>
                <a href="javascript:;">
                    <img src="../3.jpg" alt=""></img>
                </a>
            </li>
            <li>
                <a href="javascript:;">
                    <img src="../4.jpg" alt=""></img>
                </a>
            </li>
        </ul>
        <ol>
            <li></li>
        </ol>
    </div>
</body>

</html>